home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / NeXTmille / Source / DrawPileStackView.h < prev    next >
Text File  |  1990-12-08  |  930b  |  37 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import "StackView.h"
  5. #import    "CardView.h"
  6. #import    <appkit/FormCell.h>
  7.  
  8.  
  9. // This object is the draw pile.
  10. //    In addition to being a stack view this subclass also tracks and
  11. //    displays the number of cards in the pile.
  12.  
  13.  
  14. @interface DrawPileStackView:StackView
  15. {
  16.  
  17.                                                 // All of the objects listed below are set by the .nib
  18.                                                 //    dearchiving method.
  19.     FormCell    *cardCountFormCell;
  20. }
  21.  
  22.                                                 // These methods set the outlets for instances of this
  23.                                                 //    class.
  24. - setCardCountFormCell:( FormCell * )anObject;
  25.  
  26.                                                 // These methods override the superclass method
  27.                                                 //    such that the number of cards in the draw
  28.                                                 //    pile can be tracked in a form.
  29. - addCard:( CardView * )aCard :sender;
  30. - removeCard:( CardView * )aCard :sender;    
  31.                                                 // Return the number of cards remaining
  32.                                                 //    in the pile.
  33. - ( int )cardsInPile;
  34.  
  35.  
  36. @end
  37.